<?php  # Script -- callfunction.php

/* Author @ Huoty
 *   Date @ 2015-04-13 11:04:37
 *  Brief @ 
 */

header("Content-Type: text/html; charset=utf-8");

class Test
{
    function __call($function_name, $args)
    {
        print "你所调用的函数：$function_name(参数：";
        print_r($args);
        echo ")不存在！<br>";
    }
}

$test = new Test();

$test->demo("one", "Two", "three");

echo "this is a test<br>";

?>
